﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.LightSwitch;
using LightSwitchApplication.UserCode;

namespace LightSwitchApplication
{
    public partial class trTraingroupStakeholder
    {
        partial void trTraingroupStakeholder_Created()
        {
            this.AttendanceType = this.DataWorkspace.ApplicationData.tlCustomPropertyChoicesSet.Where(property => property.StaticId == 4).FirstOrDefault();  // Default to Mitglied
        }
    }
}
